---
const { userId } = Astro.locals.auth();
---

{userId ? <slot /> : null}
